<?php
class TagExpressionParser extends ExpressionParser {
	/**
	 * Replaces:
	 * 1: occurence of ${word. 	>>	$word[
	 * 2: occurence of }		>>	]
	 * 3: occurence of .		>>	][
	 * 4: occurence of [word]	>>	["word"]
	 */
	protected function parseCallback($tblMatches) {
		return $this->convertToVariable($tblMatches[0]);
	}
}